from socket import *
from SocketClient import SocketClient
import numpy as np

BUFSIZE = 1024

socketClient = SocketClient()

for i in range(120):
    tcpClientSocket = socketClient.connect()
    data = np.zeros((3, 13), dtype=np.float32)
    tcpClientSocket.send(data.tobytes())
    data1 = tcpClientSocket.recv(1024)
    if data1 != b'1':
        print(i)
        print(str(data1))
    socketClient.close()
